//
//  ios_Node.h
//  Prism
//
//  Created by Bas du Pre on 21-05-11.
//  Copyright 2011 UU. All rights reserved.
//

// iOS specific implementation

#if PRISM_OBJC

// Objective-C specific fields and methods

protected:
    CCNode* IOS_node;

protected:
    virtual void native_init();
    void native_setCCNode(CCNode* node);
    
    virtual void native_onPositionChange(void* sender, EventArgs *e);
    virtual void native_onAnchorPointChange(void* sender, EventArgs *e);
    virtual void native_onScaleChange(void* sender, EventArgs *e);
    virtual void native_onRotationChange(void* sender, EventArgs *e);
    virtual void native_onParentChange(void* sender, EventArgs *e);

    virtual bool native_isRetinaNode();

    PFloat native_scale;

#endif